﻿using Domain.Types;
using Infrastructure.AggregateBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Domain.Model
{
    [Table("TaskLog")]
    public class TaskLogAggregate : AggregateRoot<TaskLogAggregate, int>
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public override int ID { get; set; }

        public int TaskID { get; set; }
        public TaskLogType TaskType { get; set; }
        [StringLength(20)]
        public string TaskTypeName { get; set; }
        [StringLength(1000)]
        public string Description { get; set; }
        public int? OperatorID { get; set; }
        public int? AdminID { get; set; }
        public int? TaskAuditID { get; set; }
        public Guid? BizID { get; set; }
    }
}
